package uk.ac.glasgow.demosocs.impl;

import uk.ac.glasgow.demosocs.OneOfNVote;

/**
 * An on off vote, representing an instance that may be cast in an election.
 *
 */

public class OneOfNVoteStub implements OneOfNVote {

	private String candidate;
	private String votedBy;
	/**
	 * Creates an instance of one off vote
	 * @param candidate
	 * 			The guid for the candidate.
	 */
	public OneOfNVoteStub(String candidate) {
		this.candidate = candidate;
	}

	/**
	 * get the candidate guid
	 * @return candidateGuid
	 */
	@Override
	public String getCandidateGUID() {
		return candidate;
	}

	public String getVotedBy() {
		return votedBy;
	}

	public void setVotedBy(String votedBy) {
		this.votedBy = votedBy;
	}
	
		

}
